package com.zbkj.common.response.water;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zbkj.common.request.PageParamRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RzPackageResponse对象", description = "套餐分页列表响应对象")
public class RzPackageResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "套餐名称", example = "基础套餐")
    private String name;

    @ApiModelProperty(value = "套餐价格", example = "99.99")
    private BigDecimal price;

    @ApiModelProperty(value = "套餐类型：0-默认 1-月卡/季卡/半年卡/年卡", example = "0")
    private Integer type;

    @ApiModelProperty(value = "折扣", example = "0.85")
    private BigDecimal discountRate;

    @ApiModelProperty(value = "有效天数", example = "30")
    private Integer validTime;

    @ApiModelProperty(value = "是否推荐", example = "1")
    private Integer isRecommend;

    @ApiModelProperty(value = "是否删除", example = "0")
    private Boolean isDelete;

    @ApiModelProperty(value = "水量（袋）", example = "10")
    private Integer waterVolume;

    @ApiModelProperty(value = "创建时间", example = "2023-01-01 12:00:00")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", example = "2023-01-01 12:00:00")
    private Date updateTime;
}
